package com.tanhua.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@AllArgsConstructor
@NoArgsConstructor
@Data
@Document(collection = "receive_call")
public class ReceiveCall implements Serializable {
    private ObjectId id;
    private ObjectId sendCallId;//漂流瓶id
    private Long userId;//捡到漂流瓶用户id
    private String createdDate;//创建的时间
}
